<?php

/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/1/12
 * Time: 10:02
 */
class SqlService
{
    public $db;

    public function __construct()
    {
        $this->db = mysqli_connect($host = '121.196.224.138', $user = 'aigoo', $password = 'aigoo12345', $database = 'aigoo', $port = '3306', $socket = '');
    }

    public function close()
    {
        $this->db->close();
    }
}